package com.gem.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 刘聪
 * Created  on 2021/3/6
 */
@Data
@TableName(value = "sb_order_item")
public class OrderItem implements Serializable {
    private static final long serialVersionUID = 8761177237394565667L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String orderNo;
    private Integer productId;
    private String productName;
    private String subImages;
    private Double price;
    private Integer quantity;
    private Double totalPrice;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
